package com.slipper.sfts.member;

import javax.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.slipper.sfts.api.member.service.IMemberSv;
import com.slipper.system.common.Constants;
import com.slipper.common.util.ResultUtil;

/**
 * 会员信息表
 * 
 * @date 2024-01-14 22:22:15
 */
@RestController
@RequestMapping("/member")
public class MemberController {
    @Resource
    private IMemberSv memberSv;
    
    @PostMapping(value = "/queryBrokerAccountList")
    public String queryTradeAccountList() {
        return ResultUtil.toJson(memberSv.queryBrokerAccountList(Constants.getCurrentUser().getMember().getId()));
    }
}
